<?php get_header(); ?>
<div id="content">
	<div class="wrapper">
		<div id="leftSidebar">
			<?php get_sidebar('left'); ?>
		</div>
		<div id="mainContent">
			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
			
			<div class="post" id="post-<?php the_ID(); ?>">

				<h2><?php the_title(); ?></h2>

				<?php include (TEMPLATEPATH . '/inc/meta.php' ); ?>

				<div class="entry">

					<?php the_content(); ?>

					<?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?>

				</div>

				<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>

			</div>
			
			<?php comments_template(); ?>

			<?php endwhile; endif; ?>
		</div>
		<!--end mainContent-->
		<div id="rightSidebar">
			<?php get_sidebar('right'); ?>
		</div>
	</div>
	<!--end wrapper-->
</div>
<!--end content-->
<?php get_footer(); ?>


